package com.example.rentalcar.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.rentalcar.entity.CarDetail;
import com.example.rentalcar.entity.Users;
import com.example.rentalcar.entity.Worker;
import com.example.rentalcar.mapper.CarDetailMapper;
import com.example.rentalcar.mapper.WorkerMapper;
import com.example.rentalcar.service.ICarDetailService;

import com.example.rentalcar.service.IWorkerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 汽车信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-01-02
 */
@Service
public class CarDetailServiceImpl extends ServiceImpl<CarDetailMapper, CarDetail> implements ICarDetailService
{
    @Autowired
    private CarDetailMapper carDetailMapper;


    public CarDetail findById(Long carId) {
       return  carDetailMapper.selectById(carId);
    }

}
